package com.outstanding.ifml.warpper;

import com.outstanding.ifml.exception.IFMLException;
import com.outstanding.ifml.parser.IFMLToken;

public class Value extends AbstractToken {

	public Value() {
		super(TokenType.VALUE);
		this.type = ValueType.normal;
	}

	protected Value(ValueType valueType) {
		super(TokenType.VALUE);
		this.type = valueType;
	}

	private ValueType type;

	public ValueType getValueType() {
		return type;
	}

	public String getLiteral() {

		StringBuffer sb = new StringBuffer();

		sb.append(super.getLiteral());

		return sb.toString();
	}

}
